import { createRouter, createWebHashHistory } from 'vue-router'

const routes = [
  {
    path: '/',
    name: 'Index',
    component: () => import('@/views/index.vue'),
    children: [
      {
        path: '/',
        name: 'NavHome',
        component: () => import('@/views/nav/index.vue')
      }
    ]
  },


]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router;
